var hj_passport = new HJ_Passport();   
 
function OnSignOutEnd(){  
    CallServer2Logout()
    setcookie("spk3_uname", "");
    window.location.href ="/loginout.aspx";
    return false;
}

function CallServer2Logout(){
	var element=document.createElement('script'); 
	element.setAttribute('src', '/common/logout.js.aspx?time='+Math.random() );
	document.body.appendChild(element);
}
 